<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<div class="report_query">
    <div ng-include="'html/component/report.html'" ng-controller="ReportIndexCtrl"></div>
    <div class="report_main report_cont">
        <div class="report_top">
            <button class="print" ng-click="to_print();" ><!--打印-->{{language.TIPS_INVENTORY_DOC_PRINT}}</button>
            <div class="search_wrap">
                <button ng-click="goodSearch(goosCode)"></button>
                <input type="text" ng-model="goosCode" />
            </div>
        </div>
        <div class="report_form">
            <p class="form_title" ng-click = 'spkccxlb();'>
                <!--商品库存查询列表-->
                {{language.TIPS_REPORT_INVENTORY_LIST_QUERY}}<span class="triangle" ng-class="{
                                        true
                                        :'', false:'down'}[spkccxlb_show]"></span>
            </p>
            <table class="form_cont" ng-show ="spkccxlb_show">
                <tr>
                    <th><!--商品名称-->{{language.TIPS_REPORT_GOODS_NAME}}</th>
                    <th><!--货号-->{{language.TIPS_REPORT_STORE_CODE}}</th>
                    <th><!--在库库存-->{{language.TIPS_REPORT_IN_STORE_STOCK}}</th>
                    <th><!--在途库存-->{{language.TIPS_REPORT_IN_TRANSIT_STOCK}}</th>
                    <th><!--陈列数-->{{language.TIPS_REPORT_DISPAY_NUM}}</th>
                    <th><!--零售未结数-->{{language.TIPS_REPORT_OUTSTADING_NUM}}</th>
                    <th><!--零售价-->{{language.TIPS_REPORT_RETAIL_PRICE}}</th>
                    <th><!--会员价-->{{language.TIPS_REPORT_VIP_PRICE}}</th>
                </tr>
                <tr ng-repeat="i in list">
                    <td>{{i | language_filter_show:'goods_name'}}</td>
                    <td>{{i.goods_code}}</td>
                    <td>{{i.stock_num}}</td>
                    <td>{{i.road_num}}</td>
                    <td>{{i.SkuChenlie}}</td>
                    <td>{{i.unsettled_num}}</td>
                    <td>{{i.SkuPrice}}</td>
                    <td>{{i.SkuVipPrice}}</td>
                </tr>
            </table>
            <p class="form_title" ng-click = 'zkkclb();'>
                <!--在库库存列表-->
                {{language.TIPS_REPORT_IN_STORE_STOCK_LIST}}<span class="triangle" ng-class="{
                                        true
                                        :'', false:'down'}[zkkclb_show]"></span>
            </p>
            <table class="form_cont" ng-show ="zkkclb_show">
                <tr>
                    <th colspan="5" class="val">
                        <p class="radio_wrap">
                            <input ng-model="skunum_type" type="radio"  name= "txt_snt_switch" class="txt_snt_switch" id="txt_snt_switch0" value="0" ng-click = "ShowSkuNum();"/>
                            <label for="txt_snt_switch0" ng-class="{
                                                        true:'curr', false:''}[skunum_type == 0]"><!--现有库存-->{{language.TIPS_REPORT_NOW_INVENTORY}}</label>
                            <input ng-model="skunum_type" type="radio"  name= "txt_snt_switch" class="txt_snt_switch" id="txt_snt_switch1" value="1" ng-click = "ShowSkuNum();"/>
                            <label for="txt_snt_switch1" ng-class="{
                                                        true:'curr', false:''}[skunum_type == 1]"><!--全部显示-->{{language.TIPS_REPORT_SHOW_ALL}}</label>
                        </p></th>
                </tr>
                <tr>
                    <th><!--商品名称-->{{language.TIPS_REPORT_GOODS_NAME}}</th>
                    <th><!--商品规格-->{{language.TIPS_GUIDE_GOODS_SKU}}</th>
                    <th><!--商品号-->{{language.TIPS_REPORT_GOODS_SKU}}</th>
                    <th><!--商品价格-->{{language.TIPS_REPORT_GOODS_PRICE}}</th>
                    <th><!--库存数-->{{language.TIPS_REPORT_STORE_NUM}}</th>
                </tr>
                <tr ng-repeat="li in skuNumList">
                    <td>{{li | language_filter_show:'GoodsName'}}</td>
                    <td>{{li | language_filter_show:'SkuPropertyName'}}</td>
                    <td>{{li.GoodsCode}}</td>
                    <td>{{li.SkuPrice}}</td>
                    <td>{{li.SkuNum}}</td>
                </tr>
                <tr ng-show="is_show == type">
                    <td colspan="5" class="nextpage"><button class="btn_more" ng-click='scoll.nextpage();'></button></td>
                </tr>
            </table>
        </div>
    </div>
</div>